using System;
using System.Collections.Generic;

namespace B.S.NewMedical.Api.Read.DTOS.Drug
{
    /// <summary>
    /// 药品信息DTO
    /// </summary>
    public class DrugDto
    {
        /// <summary>
        /// 药品ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 药品类别ID
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// 药品类别名称
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        public string DrugName { get; set; }

        /// <summary>
        /// 剂量，如 "1 剂" 或 "0.5g*20 片"
        /// </summary>
        public string Dosage { get; set; }

        /// <summary>
        /// 功效，如 "主要提高免疫力，预防新冠疾病"
        /// </summary>
        public string Efficacy { get; set; }

        /// <summary>
        /// 价格，如 10.08
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 是否为处方药，true 表示是，false 表示否
        /// </summary>
        public bool IsPrescription { get; set; }

        /// <summary>
        /// 限购数量，如 5
        /// </summary>
        public int LimitQuantity { get; set; }

        /// <summary>
        /// 药品图片 URL
        /// </summary>
        public string ImageUrl { get; set; }
    }
} 